package com.weblog.home;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import util.MapSizeUtil;

/**
 * @author MaoLin Wang
 * @date 2019/10/316:37
 */
@SpringBootApplication
@EnableFeignClients
@EnableEurekaClient
public class HomeApplication {
    public static void main(String[] args) {
        SpringApplication.run(HomeApplication.class,args);
    }
    @Bean
    public MapSizeUtil mapSizeUtil(){
        return new MapSizeUtil();
    }
}
